package com.ayf.payment.game.api.entity;

import com.ayf.payment.game.api.entity.base.AutoIncBaseEntity;

import javax.persistence.Column;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.util.List;

/**
 * 游戏信息表
 */
@Table(name = "g_game_info")
public class GameInfo extends AutoIncBaseEntity {
    private static final long serialVersionUID = 1L;
    /**
     * 游戏类别id
     */
    @Column(name = "game_id")
    private String gameId;

    /**
     * 商户id
     */
    @Column(name = "merchant_id")
    private Integer merchantId;

    /**
     * 游戏信息名称
     */
    @Column(name = "game_info_name")
    private String gameInfoName;

    /**
     * 描述
     */
    @Column(name = "`describe`")
    private String describe;

    @Column(name = "status")
    private Integer status;
    @Column(name = "img")
    private String img;
    @Column(name = "img_type")
    private String imgType;
    @Column(name = "gift_status")
    private Integer giftStatus;
    @Column(name = "title1")
    private String title1;
    @Column(name = "title2")
    private String title2;
    @Column(name = "web_site_url")
    private String webSiteUrl;
    /**
     * 排序编号
     */
    @Column(name = "partition_sort")
    private Integer partitionSort;

    @Transient
    private List<Integer> idList;

    public List<Integer> getIdList() {
        return idList;
    }

    public void setIdList(List<Integer> idList) {
        this.idList = idList;
    }

    public String getImgType() {
        return imgType;
    }

    public void setImgType(String imgType) {
        this.imgType = imgType;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public Integer getGiftStatus() {
        return giftStatus;
    }

    public void setGiftStatus(Integer giftStatus) {
        this.giftStatus = giftStatus;
    }

    public String getTitle1() {
        return title1;
    }

    public void setTitle1(String title1) {
        this.title1 = title1;
    }

    public String getTitle2() {
        return title2;
    }

    public void setTitle2(String title2) {
        this.title2 = title2;
    }

    /**
     * 获取游戏类别id
     *
     * @return game_id - 游戏类别id
     */
    public String getGameId() {
        return gameId;
    }

    /**
     * 设置游戏类别id
     *
     * @param gameId 游戏类别id
     */
    public void setGameId(String gameId) {
        this.gameId = gameId;
    }

    /**
     * 获取商户id
     *
     * @return merchant_id - 商户id
     */
    public Integer getMerchantId() {
        return merchantId;
    }

    /**
     * 设置商户id
     *
     * @param merchantId 商户id
     */
    public void setMerchantId(Integer merchantId) {
        this.merchantId = merchantId;
    }

    /**
     * 获取游戏信息名称
     *
     * @return game_info_name - 游戏信息名称
     */
    public String getGameInfoName() {
        return gameInfoName;
    }

    /**
     * 设置游戏信息名称
     *
     * @param gameInfoName 游戏信息名称
     */
    public void setGameInfoName(String gameInfoName) {
        this.gameInfoName = gameInfoName;
    }

    /**
     * 获取描述
     *
     * @return describe - 描述
     */
    public String getDescribe() {
        return describe;
    }

    /**
     * 设置描述
     *
     * @param describe 描述
     */
    public void setDescribe(String describe) {
        this.describe = describe;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getWebSiteUrl() {
        return webSiteUrl;
    }

    public void setWebSiteUrl(String webSiteUrl) {
        this.webSiteUrl = webSiteUrl;
    }

    public Integer getPartitionSort() {
        return partitionSort;
    }

    public void setPartitionSort(Integer partitionSort) {
        this.partitionSort = partitionSort;
    }
}